﻿// Decompiled with JetBrains decompiler
// Type: Netick.NetworkDictionary
// Assembly: Netick, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6726ECA1-C773-4CF7-8952-E81B30D93B52
// Assembly location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.dll
// XML documentation location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.xml

#nullable disable
namespace Netick;

public class NetworkDictionary : INetworkCollection
{
  internal NetworkCollectionMeta _flags;
  internal unsafe int* _state;
  internal int _length;
  internal int _lengthDoubled;
  internal int _entrySizeWords;
  internal Entity _entity;
  public const int OffsetToElements = 1;
  public const int HeaderMetaSizeWords = 1;

  public virtual unsafe void InternalInit(
    INetickNetworkScript beh,
    int* state,
    int elementSizeWords,
    int flags)
  {
    this._entity = beh.Entity;
    this._entrySizeWords = elementSizeWords;
    this._state = state;
    this._flags = (NetworkCollectionMeta) flags;
  }

  public virtual void InternalReset()
  {
  }

  internal virtual string PrintValue(int index) => nameof (PrintValue);
}
